import {LAYOUT} from '@/router/constants';
import type {RouteRecordItem} from 'vc/src/router';

const ListedEsgEvent: RouteRecordItem = {
  path: '/esgEvent',
  component: LAYOUT,
  meta: {
    title: 'ESG争议事件',
    menuIndex: 1,
    subMenuIndex: 5
  },
  children: [
    {
      path: 'event' + '/:type',
      component: () => import('@/views/modules/esg/event/index.vue'),
      meta: {
        title: 'A股争议事件'
      }
    },
    {
      path: 'eventHg' + '/:type',
      component: () => import('@/views/modules/esg/event/index.vue'),
      meta: {
        title: '港股争议事件'
      }
    }
  ]
};

export default ListedEsgEvent;
